package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 用户微信信息
 * @author Rongjie
 */
@Data
@TableName("mall_user_wx_app")
@KeySequence(value = "mall_user_wx_app_SEQ")
@ApiModel(value = "MallUserWxApp对象")
public class MallUserWxApp implements Serializable{

       @ApiModelProperty(value = "归属管理员的uuid")
       private String appKey;

       @TableId(value = "wx_app_openid", type = IdType.UUID)
       @ApiModelProperty(value = "openid")
       private String wxAppOpenid;

       @ApiModelProperty(value = "绑定的用户KEY")
       private String bindUserKey;

       @ApiModelProperty(value = "头像")
       private String avatarUrl;

       private String tel;

       @ApiModelProperty(value = "地址")
       private String address;

       @ApiModelProperty(value = "昵称")
       private String nickName;

       @ApiModelProperty(value = "生日")
       private String birthday;

       @ApiModelProperty(value = "性别", example = "1")
       private Integer gender;

       @ApiModelProperty(value = "邮箱")
       private String email;

       @ApiModelProperty(value = "创建时间", example = "1")
       private Integer createTime;

       @ApiModelProperty(value = "修改时间", example = "1")
       private Integer updateTime;

       private Integer loginTime;

       private String accessToken;

       @ApiModelProperty(value = "unionid")
       private String unionId;

       @ApiModelProperty(value = "客户端类型0,友邻团购系统,1友邻配送系统", example = "1")
       private Integer clientType;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
